package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.example.bean.Stoke;

/**
 * @Auther:Liu
 * @Testname:StokeMapper
 * @Date:2025/9/25 15:16
 */
@Mapper
public interface StokeMapper extends BaseMapper<Stoke> {
    @Update("update stock set number=#{number} where gid=#{gid}")
    int updateStock(Stoke stoke);
}
